<template>
  <div>
    <div v-for="(item,index) in list" :key="index">
      <span>{{item}}</span>
    </div>
    <div v-load="data1" style="position:relative;width:200px;height:200px;border:1px solid #f00">
      <div>开心</div>
    </div>
    <el-button @click="data1=!data1">切换按钮</el-button>
  </div>
</template>

<script>
export default {
  data() {
    return {
      list: [
        "zs",
        "ls",
        "ww",
        "zl",
        "lq",
        "zs",
        "ls",
        "ww",
        "zl",
        "zs",
        "ls",
        "ww",
        "zl",
        "zs",
        "ls"
      ],
      data1: false
    };
  }
};
</script>

<style>
</style>
